package com.edu.bean;

/**
 * @Author:mx
 * @Date:2025/10/28-10:53:45
 */
public class Engine {

    private int engineId;

    private String engineName;

    private int cylinder;

    public int getEngineId() {
        return engineId;
    }

    public void setEngineId(int engineId) {
        this.engineId = engineId;
    }

    public String getEngineName() {
        return engineName;
    }

    public void setEngineName(String engineName) {
        this.engineName = engineName;
    }

    public int getCylinder() {
        return cylinder;
    }

    public void setCylinder(int cylinder) {
        this.cylinder = cylinder;
    }

    @Override
    public String toString() {
        return "Engine{" +
                "engineId=" + engineId +
                ", engineName='" + engineName + '\'' +
                ", cylinder=" + cylinder +
                '}';
    }
}
